.download-page {
    height: 100%;
    background-color: var(--bg-light);
    padding-bottom: 40px;
}

.download-type {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.download-menu-item {
    display: flex;
    flex: 1;
    flex-direction: row;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.download-menu-item:last-child {
    border-bottom: none;
}

.download-title {
    width: 120px !important;
    background-color: transparent;
    color: var(--text-main);
    font-weight: 600;
    padding-left: 0;
    height: 40px;
    line-height: 40px;
    margin-right: 20px;
    text-align: right;
    font-size: 16px;
}

.download-value {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.download-detail {
    min-width: 100px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    margin-right: 15px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    display: inline-block;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    outline: none;
}

.download-detail:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 136, 204, 0.1), 0 2px 4px -1px rgba(0, 136, 204, 0.06);
}

.download-detail:focus {
    outline: none;
}

.download-detail-os-default,
.download-detail.active,
.download-detail[style*="background-color: rgb(0, 136, 204)"],
.download-detail[style*="background-color: #0088cc"] {
    background-color: var(--primary-color) !important;
    color: var(--text-white) !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 136, 204, 0.3), 0 2px 4px -1px rgba(0, 136, 204, 0.2);
}

.download-detail-target-hidden {
    display: none;
}

.download-code-view {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex: 1;
    flex-direction: row;
}

.download-code-title {
    width: 120px !important;
    padding-left: 0;
    margin-right: 20px;
    text-align: right;
    font-weight: 600;
    color: var(--text-main);
}

.download-code-value {
    flex: 1;
    cursor: pointer;
}

.download-code-detail {
    margin-right: 20px;
    display: inline-block;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.download-code-detail:hover {
    background-color: var(--bg-hover);
    text-decoration: none;
}

.download-detail-type {
    cursor: pointer;
    margin-right: 15px;
    height: 36px;
    line-height: 36px;
    display: none;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.download-detail-type:hover {
    background-color: var(--bg-hover);
    text-decoration: none;
}

.download-detail-tips {
    height: 36px;
    line-height: 36px;
    opacity: 0.75;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-style: italic;
}

.download-detail-arch[disabled],
.download-detail-arch-disabled {
    opacity: 0.5;
    background-color: var(--bg-body) !important;
    color: var(--text-light) !important;
    border-color: var(--border-light);
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.container-header {
    color: var(--text-secondary);
    font-size: 16px;
    margin-right: 10px;
}

.download-detail-version {
    color: var(--primary-color);
    font-weight: bold;
    font-family: monospace;
}

.container-detail {
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.download-change-log {
    cursor: pointer;
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: 500;
}

.download-change-log:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .download-type {
        width: 100%;
        padding: 15px;
    }

    .download-menu-item {
        flex-direction: column;
    }

    .download-title,
    .download-code-title {
        width: 100% !important;
        text-align: left;
        margin-bottom: 10px;
    }

    .download-detail {
        margin-right: 10px;
        margin-bottom: 10px;
        flex: 1;
        min-width: 80px;
    }
}